package expression;

import echecs.Etat;

public class Ou2 extends ExpressionBinaire {

    public Ou2(Expression g, Expression d) {
        super(g, d);
    }

    @Override
    public Object f(Etat etat) {
        return (Boolean) arg1.f(etat) || (Boolean) arg2.f(etat);
    }
}
